package demo;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.annotation.WebServlet;

/**
 * @author tongchen
 * @create 2022-11-28 20:21
 */
@WebServlet("/demo07")
public class Servletdemo6 extends ServletDemo2 {
    @Override
    protected void postMethod(ServletRequest servletRequest, ServletResponse servletResponse) {
        System.out.println("post");
    }

    @Override
    protected void getMethod(ServletRequest servletRequest, ServletResponse servletResponse) {
        System.out.println("get");
    }
}
